Password-less SSH

local-machine: cd .ssh/
local-machine: ssh-keygen -t dsa
local-machine: chmod 600 id_dsa
local-machine: scp id_dsa.pub account@remote-machine:
local-machine: ssh remote-machine -l account
remote-machine: cat id_dsa.pub >> .ssh/authorized_keys2
remote-machine: rm id_dsa.pub
remote-machine: logout
local-machine: ssh remote-machine -l account

Reference

[http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/ 3 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id]

[http://everydaylht.com/howtos/system-administration/loggin-in-via-ssh-without-a-password/ Logging In Via SSH Without A Password]

[http://www.cc.gatech.edu/~nsimhan/automatic.html Automatic backups with ssh and rsync howto. ssh without passwords]

[http://www.cs.umd.edu/~arun/misc/ssh.html SSH without password]

Homepage
Comments

Hide Comments